$OpenBSD: patch-src_interfaces_ecpg_ecpglib_Makefile,v 1.1.1.1 2016/12/18 18:13:25 jeremy Exp $
--- src/interfaces/ecpg/ecpglib/Makefile.orig	Sun May 11 14:16:48 2014
+++ src/interfaces/ecpg/ecpglib/Makefile	Thu May 15 21:52:50 2014
@@ -14,8 +14,8 @@ top_builddir = ../../../..
 include $(top_builddir)/src/Makefile.global
 
 NAME= ecpg
-SO_MAJOR_VERSION= 6
-SO_MINOR_VERSION= 7
+SO_MAJOR_VERSION= ${LIBecpg_MAJOR}
+SO_MINOR_VERSION= ${LIBecpg_MINOR}
 
 override CPPFLAGS := -I../include -I$(top_srcdir)/src/interfaces/ecpg/include \
 	-I$(libpq_srcdir) -I$(top_builddir)/src/port -DFRONTEND $(CPPFLAGS)
